package com.nit.store.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @Author J1ay
 * @Date 2022/7/21 17:53
 * @Description 上传
 */

public interface UploadService {

    /**
     * 更新头像
     * @param file
     * @param uid
     * @return
     */
    Map updateAvatar(MultipartFile file, Long uid);
}
